package com.dkh.recommend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dkh.recommend.dto.BlogUploadDTO;
import com.dkh.recommend.dto.Result;
import com.dkh.recommend.entity.TbBlog;

/**
* @author DENG
* @description 针对表【tb_blog】的数据库操作Service
* @createDate 2023-04-05 01:22:41
*/
public interface TbBlogService extends IService<TbBlog> {

    Result UploadBlog(BlogUploadDTO blogUploadDTO);

    Result GetAllBlog(int pageNumber, int pageSize);

    Result GetAllInfoById(String blogId);

    Result GetAllByMusicId(String musicId ,int pageNumber, int pageSize );

    Result GetBlogImgList(String blogId);

    Result GetAllByAuthorId(String blogAuthor);

    Result GetAllByUserId(String userId, int pageNumber, int pageSize);

    Result DeleteMyBlogById(String blogId);
}
